<?php

trait SimpleClass{

    // property declaration
    public $var = 'a value';

    // method declaration
    public function displayVar()
    {
        echo $this->var;
    }

}

?>